package com.glw.sso.platform.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.glw.sso.platform.common.base.BaseEntity;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 系统部门与员工关系表
 * </p>
 *
 * @author AutoGenerator
 * @since 2021-11-14
 */
@Getter
@Setter
@TableName("system_department_user")
@ApiModel(value = "DepartmentUser对象", description = "系统部门与员工关系表")
public class DepartmentUser extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("部门id")
    private String departmentId;

    @ApiModelProperty("用户pin")
    private String userPin;

    @ApiModelProperty("职位")
    private String postion;

    @ApiModelProperty("职级")
    private Boolean postionLevel;

    @ApiModelProperty("是否领导 0、不是 1、是")
    private Boolean isLeader;

    @ApiModelProperty("备注")
    private String remark;


}
